package com.sam.service;

import org.springframework.ai.chat.model.ChatResponse;
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
import reactor.core.publisher.Flux;

/**
 * AI
 *
 * @author <a href="mailto:807837863.qq.com">sam</a>
 * @since 2025-05-07 16:08
 */
public interface IDeepSeekService {

    /**
     * 根据消息直接输出答案
     * @param message
     * @return
     */
    //String chat(String message);

    /**
     * 根据消息流式输出答案
     * @param message
     * @return
     */
    Flux<ChatResponse> chatFlux(String message);

    String getResponse(String message);

    SseEmitter sendStreamMessage(String message);

}
